home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
CRS
/
crs54.d81
/
sgtool13.arc
/
CIA.ARC
/
CIATIMAG.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-08-28
|
299b
|
20 lines
/*
SG C Tools 1.3
(C) 1993 Steve Goldsmith
All Rights Reserved
Compiled with HI-TECH C 3.09 (CP/M-80).
*/
#include <sys.h>
#include <hitech.h>
#include <cia.h>
/* get cia timer a */
ushort gettimeracia (ushort C)
{
return(inp(C+ciaTimerALo) | (inp(C+ciaTimerAHi) << 8));
}